home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
graphics
/
fxforge
/
toadies
/
rasterline
< prev
next >
Wrap
Text File
|
1999-06-15
|
664b
|
26 lines
Category: Toadies
Title: Rasterline...
Copyright: Copyright © 1997 Ilyich the Toad (ilyich@cacr.ioc.ac.ru). Freeware.
Author: Ilyich the Toad
Filename: t_Rasterline.8bf
R:put(255*(y%val(0,Y,0))/val(0,Y,0),0),put(255*(x%val(1,X,0))/val(1,X,0),1),put(ctl(4)>128?c:0,2),get(0)+get(1)>map(1,i)?get(2):255
G:put(ctl(4)>128?c:0,2),get(0)+get(1)>map(1,i)?get(2):255
B:put(ctl(4)>128?c:0,2),get(0)+get(1)>map(1,i)?get(2):255
A:put(ctl(4)>128?c:c,2),get(0)+get(1)>map(1,i)?get(2):0
ctl[0]: Vertical Frequency
ctl[1]: Horizontal Frequency
map[1]: Source image range
ctl[4]: Mode switch
val[0]: 243
val[1]: 255
val[2]: 0
val[3]: 0
val[4]: 211